agent: Fix for suggested Libgcrypt use.
authorWerner Koch <wk@gnupg.org>
Fri, 22 Feb 2019 13:09:02 +0000 (14:09 +0100)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 22 Aug 2019 19:11:59 +0000 (20:11 +0100)
commitb3884c51ee2b5afdc488d37d56109b9d6c4ebe81
tree81d594ed59558aa7a4603129f25a5d2699547625
parent5195f0b562a2d5e4aaa658783b11303be1dd24d9
agent: Fix for suggested Libgcrypt use.

* agent/divert-scd.c (divert_pkdecrypt): Skip a flags parameter.
--

The libgcrypt docs say that a "flags" parameter should always be used
in the input of pkdecrypt.  Thus we should allow that parameter also
when parsing an s-expression to figure out the algorithm for use with
scdaemon.

Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit a12c3a566e2e4b10bc02976a2819070877ee895c)
(cherry picked from commit 0a95b153811f36739d1b20f23920bad0bb07c68b)

Gbp-Pq: Topic from-2.2.14
Gbp-Pq: Name agent-Fix-for-suggested-Libgcrypt-use.patch
agent/divert-scd.c